package com.github.jeffreyning.mybatisplus.demo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.github.jeffreyning.mybatisplus.anno.MppMultiId;
import lombok.Data;

/**
 * @author ninghao
 * @description TODO
 * @className Test07Entity
 * @date 2020/12/27
 */
@TableName("test07")
@Data
public class Test07Entity  {

    @MppMultiId
    @TableId(value="k1")
    private Integer k1;

    @MppMultiId
    @TableField(value = "k2")
    private String k2;


    @TableField(value = "col1")
    private String col1;
    @TableField(value = "col2")
    private String col2;

}
